Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.sun.java.swing.text.
StyleConstants.ParagraphConstants

java.lang.Object
  |
  +--com.sun.java.swing.text.StyleConstants.ParagraphConstants

public static class StyleConstants.ParagraphConstants
extends java.lang.Object
implements AttributeSet.ParagraphAttribute
This is a typesafe enumeration of the well-known attributes that contribute to a paragraph style. These are aliased by the outer class for general presentation.


Field Summary
static java.lang.Object Alignment
          Alignment for the paragraph.
static java.lang.Object FirstLineIndent
          The amount of space to indent the first line of the paragraph.
static java.lang.Object LeftIndent
          The amount to indent the left side of the paragraph.
static java.lang.Object LineSpacing
          The amount of space between lines of the paragraph.
static java.lang.Object RightIndent
          The amount to indent the right side of the paragraph.
static java.lang.Object SpaceAbove
          The amount of space above the paragraph.
static java.lang.Object SpaceBelow
          The amount of space below the paragraph.
static java.lang.Object TabSet
          TabSet for the paragraph.
 
Method Summary
java.lang.String toString()
          Returns the string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

FirstLineIndent

public static final java.lang.Object FirstLineIndent
The amount of space to indent the first line of the paragraph. This value may be negative to offset in the reverse direction. The type is Float and specifies the size of the space in points.

LeftIndent

public static final java.lang.Object LeftIndent
The amount to indent the left side of the paragraph. Type is float and specifies the size in points.

RightIndent

public static final java.lang.Object RightIndent
The amount to indent the right side of the paragraph. Type is float and specifies the size in points.

LineSpacing

public static final java.lang.Object LineSpacing
The amount of space between lines of the paragraph. Type is float and specifies the size in points.

SpaceAbove

public static final java.lang.Object SpaceAbove
The amount of space above the paragraph. Type is float and specifies the size in points.

SpaceBelow

public static final java.lang.Object SpaceBelow
The amount of space below the paragraph. Type is float and specifies the size in points.

Alignment

public static final java.lang.Object Alignment
Alignment for the paragraph. The type is Integer. Valid values are:

TabSet

public static final java.lang.Object TabSet
TabSet for the paragraph.
Method Detail

toString

public java.lang.String toString()
Returns the string representation.
Returns:
the string
Overrides:
toString in class java.lang.Object

Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug or feature
Submit comments/suggestions about javadoc
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.